From 47def26bd36b3c2acbf3807c5842a2332745a91e Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Mon, 5 Apr 2004 16:30:01 +0000 Subject: [PATCH] bitkeeper revision 1.847 (407189896qS6tdiifFnDtrV9kvbJyA) Fix compiler warning. --- xen/arch/i386/io_apic.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/xen/arch/i386/io_apic.c b/xen/arch/i386/io_apic.c index 5b3a54089c..4cec08fc22 100644 --- a/xen/arch/i386/io_apic.c +++ b/xen/arch/i386/io_apic.c @@ -1507,18 +1507,6 @@ static struct hw_interrupt_type lapic_irq_type = { end_lapic_irq }; -static void enable_NMI_through_LVT0 (void * dummy) -{ - unsigned int v, ver; - - ver = apic_read(APIC_LVR); - ver = GET_APIC_VERSION(ver); - v = APIC_DM_NMI; /* unmask and set to NMI */ - if (!APIC_INTEGRATED(ver)) /* 82489DX */ - v |= APIC_LVT_LEVEL_TRIGGER; - apic_write_around(APIC_LVT0, v); -} - /* * This looks a bit hackish but it's about the only one way of sending * a few INTA cycles to 8259As and any associated glue logic. ICR does -- 2.30.2